package com.west.xu.jdbc.annotation;

import java.lang.annotation.*;

@Target({ElementType.PARAMETER, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
//对象属性是否入库
public @interface BeanFieldToDB {

    boolean insertField() default false;//插入列

    boolean updateField() default false;//更新列

    String columnName() default "";
}
